using UnityEngine;

public class TemporarySlot : MonoBehaviour
{
	private static TemporarySlot Instance;

	private void Awake()
	{
		Instance = this;
	}

	private void OnDestroy()
	{
		Instance = null;
	}

	public static void Add(PoolBall ball)
	{
		ball.GetComponent<Rigidbody>().position = Instance.transform.position;
		ball.AudioEnable = false;
		ball.CloseRenderer();
	}
}
